package com.qf.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qf.model.Contractor;
import com.qf.model.Developer;
import lombok.Data;
import java.util.Date;

@Data
public class Project {

    private int pid;
    private String pname;
//    private StringBuffer qq;
//    private StringBuilder qqq;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date starttime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endtime;
    private String did;
    private String cid;
    private Date updatetime;

    //开发商实体属性 一对一  一个工程对应一个开发商和承建商
    private Developer developer;
    private Contractor contractor;
}